package com.njwb.day03;

public class Test14 {
    public static void main(String[] args) {
        //求给定数组的最大值
        int[] is={11,1,45,67,2,30,100,1};
        int max=-1;
        for(int i=0;i<is.length;i++){
            if(max<is[i]){
                max=is[i];
            }
        }
        System.out.println(max);
    }
}
